package com.vip.shopdao.shop.domain;

import com.vip.shopbase.Domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Classname Size
 * @Description TODO

 */
@Entity
@Table(name = "size_")
public class Size extends BaseEntity<Long> {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * 规格名
     */
    @Column
    String name;
    /**
     * 规格描述
     */
    @Column
    String description;
    /**
     * 商品ID
     */
    Long shopId;

    public Size() {
    }

    public Size(String name, String description, Long shopId) {
        this.name = name;
        this.description = description;
        this.shopId = shopId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }
}
